package calendar;

/**
 * Klasse repräsentiert einen Kalender
 * 
 * @author Michi
 * 
 */
public class Calendar {
	private int idCalendar;
	private String name;

	public int getIdCalendar() {
		return idCalendar;
	}

	public void setIdCalendar(int idCalendar) {
		this.idCalendar = idCalendar;
	}

	public String getName() {
		return name;
	}

	/**
	 * Konstruktor
	 * 
	 * @param idCalendar
	 *            Kalnder ID aus der Datenbank
	 * @param name
	 *            Name des Kalenders
	 */
	public Calendar(int idCalendar, String name) {
		this.idCalendar = idCalendar;
		this.name = name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
